package myapp.commands 
{
	import com.bumpslide.command.CommandEvent;
	import com.bumpslide.command.CommandQueue;

	import flash.display.DisplayObject;

	/**
	 * Startup Sequence
	 * 
	 * @author David Knape
	 */
	public class AppStartup extends CommandQueue 
	{

		override public function execute(event:CommandEvent):void
		{
			callback = event;
			
			// init model needs root
			var root:DisplayObject = event.data;
			
			add( InitModel, root );
			add( LoadFlickrSet );
			
			super.execute(event);
		}
		
	}
}
